import request from '@/utils/request'

// 提现方式列表
export function apiWithdrawMethodLists(params: any) {
    return request.get({ url: '/withdraw.withdraw_method/lists', params })
}
// 提现方式列表
export function apiWithdrawMethodAll(params: any) {
    return request.get({ url: '/withdraw.withdraw_method/all', params })
}

// 添加提现方式
export function apiWithdrawMethodAdd(params: any) {
    return request.post({ url: '/withdraw.withdraw_method/add', params })
}

// 编辑提现方式
export function apiWithdrawMethodEdit(params: any) {
    return request.post({ url: '/withdraw.withdraw_method/edit', params })
}

// 删除提现方式
export function apiWithdrawMethodDelete(params: any) {
    return request.post({ url: '/withdraw.withdraw_method/delete', params })
}

// 提现方式详情
export function apiWithdrawMethodDetail(params: any) {
    return request.get({ url: '/withdraw.withdraw_method/detail', params })
}